package com.aloda.scoring;

import com.aloda.entity.App;
import com.aloda.entity.UserAnswer;

import java.util.List;

/**
 * 评分策略(策略模式接口)
 * @author aloda
 * @date 2025/3/22
 */
public interface ScoringStrategy {

    /**
     * 执行评分
     *
     * @param choices
     * @param app
     * @return
     * @throws Exception
     */
    UserAnswer doScore(List<String> choices, App app) throws Exception;
}